package com.baomidou.springwind.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * Created by Administrator on 2016/12/11.
 */
@TableName(value = "department")
public class Department {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     * 部门ID
     */
    @TableId
    private String id;
    /**
     * 部门名
     */
    private String name;
    /**
     * 职工号
     */
    private int employeenum;
    /**
     * 状态
     */
    private int datastatus;
    /**
     * 创建时间
     */
    private String createtime;
    /**
     * 修改时间
     */
    private String changetime;
    /**
     * 负责人
     */
    private String principal;
    /**
     * 负责人手机号
     */
    private String phonenum;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getEmployeenum() {
        return employeenum;
    }

    public void setEmployeenum(int employeenum) {
        this.employeenum = employeenum;
    }

    public int getDatastatus() {
        return datastatus;
    }

    public void setDatastatus(int datastatus) {
        this.datastatus = datastatus;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getChangetime() {
        return changetime;
    }

    public void setChangetime(String changetime) {
        this.changetime = changetime;
    }

    public String getPrincipal() {
        return principal;
    }

    public void setPrincipal(String principal) {
        this.principal = principal;
    }

    public String getPhonenum() {
        return phonenum;
    }

    public void setPhonenum(String phonenum) {
        this.phonenum = phonenum;
    }
}
